Parameters
- file
- The file stream to write the session file into (should be empty)
- sessionSummary
- fileSequence
- fileStartTime
- Used during initial collection to indicate the real time this file became the active file.
- majorVersion
- Major version of the serialization protocol
- minorVersion
- Minor version of the serialization protocol